package valuecomusa.fijibus.eticket;

import java.util.Date;

public class TransInfo {

	//private variables 
    int _id; 
    int _bus_number;
    int _memberisn; 
    double _fare_amount;
    double _topup_amount;
    String _trans_desc;
    int _pay_type;
    int _receiverisn;
    int _sync_isn;
    Date _trans_date;
    
    // Empty constructor 
    public TransInfo(){ 
  
    }
    
    // constructor 
    public TransInfo(int id, int busnumber, int memberisn, double fareamount, double topupamount, String desc, int paytype, int receiverisn, int syncisn){ 
        this._id = id; 
        this._bus_number = busnumber;
        this._memberisn = memberisn;
        this._fare_amount = fareamount; 
        this._topup_amount = topupamount;
        this._trans_desc = desc;
        this._pay_type = paytype; 
        this._receiverisn = receiverisn;
        this._sync_isn = syncisn;
    } 
  
    // getting ID 
    public int getID(){ 
        return this._id; 
    } 
  
    // setting id 
    public void setID(int val){ 
        this._id = val; 
    } 
  
    public int getBusNumber(){ 
        return this._bus_number; 
    } 
  
    public void setBusNumber(int val){ 
        this._bus_number = val; 
    } 
    
    public int getMemberISN(){ 
        return this._memberisn; 
    } 
  
    public void setMemberISN(int val){ 
        this._memberisn = val; 
    }
    
    public double getFareAmount(){ 
        return this._fare_amount; 
    } 
  
    public void setFareAmount(double val){ 
        this._fare_amount = val; 
    } 
    
    public double getTopUpAmount(){ 
        return this._topup_amount; 
    } 
  
    public void setTopUpAmount(double val){ 
        this._topup_amount = val; 
    } 
    
    public String getDesc(){ 
        return this._trans_desc; 
    } 
  
    public void setDesc(String val){ 
        this._trans_desc = val; 
    } 
    
    public int getPayType(){ 
        return this._pay_type; 
    } 
  
    public void setPayType(int val){ 
        this._pay_type = val; 
    }

    public int getReceiverISN(){ 
        return this._receiverisn; 
    } 
  
    public void setReceiverISN(int val){ 
        this._receiverisn = val; 
    }
    
    public int getSyncISN(){ 
        return this._sync_isn; 
    } 
  
    public void setSyncISN(int val){ 
        this._sync_isn = val; 
    }
    
    public Date getTranDate(){ 
        return this._trans_date; 
    } 
  
    public void setTranDate(Date val){ 
        this._trans_date = val; 
    }
    
}
